﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LocationGoodsInfoForPlenish", "LocationGoodsInfoForPlenish", new string[] { "LOCATIONGOODSID" })]
    [KnownType(typeof(LocationGoodsInfo))]
    //货位商品信息
    public class LocationGoodsInfoForPlenish : MB.Orm.Common.BaseModel
    {
        public LocationGoodsInfoForPlenish()
        {

        }

        private int _LOCATIONGOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONGOODSID", System.Data.DbType.Int32)]
        public int LOCATIONGOODSID
        {
            get { return _LOCATIONGOODSID; }
            set { _LOCATIONGOODSID = value; }
        }
        private int _LOCATIONID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONID", System.Data.DbType.Int32)]
        public int LOCATIONID
        {
            get { return _LOCATIONID; }
            set { _LOCATIONID = value; }
        }
        private string _LOCATIONCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONCODE", System.Data.DbType.String)]
        public string LOCATIONCODE
        {
            get { return _LOCATIONCODE; }
            set { _LOCATIONCODE = value; }
        }
        private string _GOODSBATCHCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSBATCHCODE", System.Data.DbType.String)]
        public string GOODSBATCHCODE
        {
            get { return _GOODSBATCHCODE; }
            set { _GOODSBATCHCODE = value; }
        }
        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }
        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }
        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }
        private int _WAREHOUSEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEID", System.Data.DbType.Int32)]
        public int WAREHOUSEID
        {
            get { return _WAREHOUSEID; }
            set { _WAREHOUSEID = value; }
        }
        private string _WAREHOUSECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSECODE", System.Data.DbType.String)]
        public string WAREHOUSECODE
        {
            get { return _WAREHOUSECODE; }
            set { _WAREHOUSECODE = value; }
        }
        private string _CELLNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CELLNO", System.Data.DbType.String)]
        public string CELLNO
        {
            get { return _CELLNO; }
            set { _CELLNO = value; }
        }

        private decimal _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Decimal)]
        public decimal QTY
        {
            get { return _QTY; }
            set { _QTY = value; }
        }
        private string _CREATER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATER", System.Data.DbType.String)]
        public string CREATER
        {
            get { return _CREATER; }
            set { _CREATER = value; }
        }

        private string _UNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("UNITNAME", System.Data.DbType.String)]
        public string UNITNAME
        {
            get { return _UNITNAME; }
            set { _UNITNAME = value; }
        }

        private decimal _INVQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVQTY", System.Data.DbType.Decimal)]
        public decimal INVQTY
        {
            get { return _INVQTY; }
            set { _INVQTY = value; }
        }

        private int _INVSTATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVSTATUS", System.Data.DbType.Int32)]
        public int INVSTATUS
        {
            get { return _INVSTATUS; }
            set { _INVSTATUS = value; }
        }

        private int _TIPNUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TIPNUMBER", System.Data.DbType.Int32)]
        public int TIPNUMBER
        {
            get { return _TIPNUMBER; }
            set { _TIPNUMBER = value; }
        }

        //private string _GOODSCODE3;
        //[DataMember]
        //[MB.Orm.Mapping.Att.ColumnMap("GOODSCODE3", System.Data.DbType.String)]
        //public string GOODSCODE3
        //{
        //    get { return _GOODSCODE3; }
        //    set { _GOODSCODE3 = value; }
        //}

        //private int _GOODSID3;
        //[DataMember]
        //[MB.Orm.Mapping.Att.ColumnMap("GOODSID3", System.Data.DbType.Int32)]
        //public int GOODSID3
        //{
        //    get { return _GOODSID3; }
        //    set { _GOODSID3 = value; }
        //}

        private decimal _PURUNITQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PURUNITQTY", System.Data.DbType.Decimal)]
        public decimal PURUNITQTY
        {
            get { return _PURUNITQTY; }
            set { _PURUNITQTY = value; }
        }
        private string _PURUNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PURUNITNAME", System.Data.DbType.String)]
        public string PURUNITNAME
        {
            get { return _PURUNITNAME; }
            set { _PURUNITNAME = value; }
        }

        private string _QUALITYSTATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QUALITYSTATUS", System.Data.DbType.String)]
        public string QUALITYSTATUS
        {
            get { return _QUALITYSTATUS; }
            set { _QUALITYSTATUS = value; }
        }
    }
}
